<#import "/spring.ftl" as spring/>
<#import "/common/base.ftl" as base/>
<@base.page '财务采购退货明细'>
<div class="row">
    <div class="col-lg-12">
        <div class="ibox float-e-margins">
          	<div class="filterItems">
				    <form class="form-inline" onsubmit="return false;">
				      <div class="form-group">
				        <label for="supplier">退货单号:</label>
				        <input type="text" class="form-control round-border returnOrder" id="supplier" placeholder="">
				      </div>
				      <div class="form-group">
				        <label for="purchaseNo">供应商编码:</label>
				        <input type="text" class="form-control round-border supplierCode" id="purchaseNo" placeholder="">
				      </div>
				      <div class="form-group">
				        <label for="purchaseNo">供应商名称:</label>
				        <input type="text" class="form-control round-border supplierName" id="purchaseNo" placeholder="">
				      </div>
				      <label for="purchaseNo">采购类型:</label>
				      <select class="form-control purchaseType" >
				        <option value=-1>全部</option>
				        <option value=1>已采购</option>
				        <option value=0></option>
				      </select>
				      <button type="submit" class="btn btn-primary searchBtn pull-right" style="margin-right:100px;">查询</button>
				      
				      <br><br>
				      
				      <div class="form-group">
				        <label for="supplier">采购人:&nbsp;&nbsp;&nbsp;</label>
				        <input type="text" class="form-control round-border returnPerson" id="purchaser" placeholder="">
				      </div>
				      <div class="form-group">
				        <label for="datepicker">采购日期:</label>
				        <input type="text" class="form-control datepicker startDate startReturnTime">
					    至
						<input type="text" class="form-control datepicker endDate endReturnTime">
				      </div>
				      <button type="submit" class="btn btn-default pull-right" style="margin-right:100px;">重置</button>
				    </form>
          	</div>
           <br>
            <a href="/po_purchase/returnViewPage?orderId=test001">test View</a>
           <a href="/po_purchase/returnEditPage?orderId=test001">test Edit</a>
            <div class="ibox-content">
            	
            	<div class="tabs">
	            	<ul class="nav nav-tabs">
					  <li role="presentation" class="active tabsItem" value=0><a href="#">未审核</a></li>
					  <li role="presentation" class="tabsItem" value=5><a href="#">已审核</a></li>
					  <li role="presentation" class="tabsItem" value=-1><a href="#">全部</a></li>
					</ul>
            	</div>
            	<br>
                <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper form-inline" role="grid">
                    <table id="reviewList" class="table table-striped table-bordered table-hover dataTable" cellspacing="0" width="100%">
				        <thead>
				            <tr>
				                <th>采购单号</th>
				                <th>审核状态</th>
				                <th>财务审核状态</th>
				                <th>采购类型</th>
				                <th>供应商编码</th>
				                <th>供应商名称</th>
				                <th>结算方式</th>
				                <th>退货日期</th>
				                <th>采购人</th>
				                <th>退货数</th>
				                <th>退货金额</th>
				                <th>实际发货数</th>
				                <th>操作</th>
				            </tr>
				        </thead>
				    </table>
                      
                </div>
            </div>
        </div>
    </div>
</div>
</@base.page>

<script src="<@spring.url '/assets/js/purchase/purchaseReturnReview.js' />"></script>

